Is there any method in macOS native SwiftUI development that corresponds to following code from macOS Catalyst / iOS /iPadOS?
UIApplication.shared.applicationIconBadgeNumber
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have been working on a cross platform app, iOS/macOS. But when I implemented CloudKit in the project, the iOS app works perfectly, but the macOS app presents a warning, as seen in following image.
I added CloudKit and Background Push Notifications in iOS, and just CloudKit in macOS. Is there any other capability I need to add to macOS so that this warning does not show up?